<div class="footer">
    <a href="{:url('Map/mapdata')}" {if request()->action()=='mapdata'&& request()->controller()=='Map'} class="this"{/if}>
        {if request()->action()=='mapdata'&& request()->controller()=='Map'}
        <img src="/static/app/img/bot-b.png"/>
        {else}        <img src="/static/app/img/bot-b1.png"/>
        {/if}
        <span>定位</span>
    </a>
    <a href="{:url('Map/route')}" {if request()->action()=='route'&& request()->controller()=='Map'} class="this"{/if}>

        {if request()->action()=='route'&& request()->controller()=='Map'}<img src="/static/app/img/bot-d.png"/> {else}<img src="/static/app/img/bot-d1.png"/>{/if}
        <span>轨迹</span>
    </a>
    <a href="{:url('Index/device')}" {if request()->controller()=='Index'} class="this"{/if}>
        {if request()->controller()=='Index'}<img src="/static/app/img/bot-a.png"/> {else}<img src="/static/app/img/bot-a1.png"/>{/if}

        <span>设备</span>
    </a>
    <a href="{:url('Core/index')}" {if request()->controller()=='Core'} class="this"{/if}>
        {if request()->controller()=='Core'}<img src="/static/app/img/bot-c.png"/> {else}<img src="/static/app/img/bot-c1.png"/>{/if}

        <span>我的</span>
    </a>
</div>